home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / paket61.zip / SCRIPTS@.EXE / LHAPAKET.SCP < prev   
Text File  |  1994-08-15  |  1KB  |  28 lines

  1.    *********************************************************************
  2.    *                          LHAPAKET.SCP                             *
  3.    *                                                                   *
  4.    *           You can run any DOS command from a Script!              *
  5.    *                                                                   *
  6.    *  This is how I backup the paKet system in an LZH archive file.    *
  7.    *  Not much different to a DOS Batch file I suppose, but it is      *
  8.    *  convenient to run from within paKet and of course it can         *
  9.    *  include other paKet Script commands too!                         *
  10.    *                                                                   *
  11.    *  The Echo commands used here have absolutely NOTHING to do with   *
  12.    *  the DOS command and are not required of course!  I include them  *
  13.    *  for demonstration purposes, including the use of a Substitution  *
  14.    *  parameter - the $t is replaced by the current time.              *
  15.    *********************************************************************
  16.  
  17. E
  18. E                        Running LHAPAKET Script
  19. E         *** Archiving the paKet system with LHA at $t ***
  20.  
  21. * Wait a couple of seconds to read the above messages before we go to DOS
  22. D 2
  23.  
  24. ! c:\utility\lha a c:\backup\p60 c:\borlandc\paket\*.*
  25.  
  26. E                *** Archive job completed at $t ***
  27. E
  28.